package com.neusoft.demo9;

public class Test6 {
    public static int m1() {
        try {
            System.out.println(5/0);
            System.out.println("执行的try");
            return 1;
        }catch(Exception e) {
            System.out.println("执行的catch");
            return 2;
        }finally {
            System.out.println("执行的finally");
            return 3;
        }
    }

    public static void main(String[] args) {
        int a = m1();
        System.out.println(a);
    }
}
